Categories and Monads in HOL-Omega

نویسنده

  • Jeremy E. Dawson
چکیده

We consider HOL-Omega, a recent extension by Homeier to the type system of the HOL theorem prover. We describe how it permits an implementation of categories, where we model the objects of a category as the types of HOL-Omega. This gives a “light-weight” implementation of categories into a theorem prover: we explore how this is sufficient for easily proving some non-trivial results of category theory, although some other results cannot be expressed in HOL-Omega in this way. We illustrate the use of HOL-Omega by first proving the multiple characterisations of an adjoint pair of functors. Then we consider compound monads, where we consider distributive laws and the conditions for compatibility of monads. We show how in HOL-Omega we can express the concept of a monad in the Kleisli category of another monad, and use this to obtain easy proof of some results about distributive laws, including a new result simplifying the conditions of Barr & Wells for compatibility of monads.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Certification Monads

This entry provides several monads intended for the development of stand-alone certifiers via code generation from Isabelle/HOL. More specifically, there are three flavors of error monads (the sum type, for the case where all monadic functions are total; an instance of the former, the so called check monad, yielding either success without any further information or an error message; as well as ...

متن کامل

Applications of the Kleisli and Eilenberg-Moore 2-adjunctions

In 2010, J. Climent Vidal and J. Soliveres Tur developed, among other things, a pair of 2-adjunctions between the 2-category of adjunctions and the 2-category of monads. One is related to the Kleisli adjunction and the other to the Eilenberg-Moore adjunction for a given monad.Since any 2-adjunction induces certain natural isomorphisms of categories, these can be used to classify bijection...

متن کامل

Operads of higher transformations for globular sets and for higher magmas

‎In this article we discuss examples of fractal $omega$-operads‎. ‎Thus we show that there is an $omega$-operadic approach to explain existence of‎ ‎the globular set of globular setsfootnote{Globular sets are also called $omega$-graphs by the French School.}‎, ‎the reflexive globular set of reflexive globular sets‎, ‎the $omega$-magma of $omega$-magmas‎, ‎and also the reflexive $omega$-magma ...

متن کامل

A cottage industry of lax extensions

In this work, we describe an adjunction between the comma category of Set-based monads under the V -powerset monad and the category of associative lax extensions of Set-based monads to the category of V -relations. In the process, we give a general construction of the Kleisli extension of a monad to the category of V-relations.

متن کامل

$omega$-Operads of coendomorphisms and fractal $omega$-operads for higher structures

     In this article we introduce the notion of textit{Fractal $omega$-operad} emerging from  a natural $omega$-operad associated to any coglobular object in the category of higher operads in Batanin's sense, which in fact is a coendomorphism $omega$-operads. We have in mind coglobular object of higher operads which algebras are kind of higher transformations. It follows that this natural $omeg...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010